/* 自定义锁屏覆盖层样式 */
.custom-lock-screen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-lock-screen-modal {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    z-index: 10000;
}

.custom-lock-screen-content {
    text-align: center;
}

.custom-lock-screen-content .fa-lock {
    color: #ffc107 !important;
}

.custom-lock-screen-content .alert-danger {
    border-radius: 5px;
    margin-top: 10px;
}

.custom-lock-screen-content .form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
}

.custom-lock-screen-content .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 密码错误时的样式 */
.custom-lock-screen-content .password-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* 原有的Modal样式保持兼容 */
.modal-backdrop.show {
    opacity: 0.8 !important;
    pointer-events: none !important;
}

.lock-screen-modal .modal-dialog {
    max-width: 400px;
}

.lock-screen-modal .modal-content {
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.lock-screen-modal .fa-lock {
    color: #ffc107 !important;
}

.lock-screen-modal .alert-danger {
    border-radius: 5px;
    margin-top: 10px;
}

.lock-screen-modal .form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
}

.lock-screen-modal .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 模态框密码错误时的样式 */
.lock-screen-modal .password-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}